﻿using PosClient.Interfaces;
using PosClient.View;
using PosClient.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PosClient.Service.Actives
{
    public class ClearCartAction: IActionService
    {
        public void Action(MainViewModel vm)
        {
            vm.ClearCartCommand.Execute().Subscribe();
        }

        public string FormName()
        {
            return "MainView";
        }
    }
}
